failure 16:
Requirement failed: {log1pf.10.01.01} Function executed successfully with EOK error code, while `compare_Unifloat(x, changeSign_Unifloat(createOne_Unifloat(x->type), -1)) == -1 == true` means that EDOM SHALL be set
location |
trace |
/var/opt/lsb/test/olver-core/2014-01-29_05-08-38/math_exp_scenario.utz (math_exp_scenario.utt), line 45481 |
occurence |
scenario |
math_exp_scenario |
specification function |
log1p_spec() |
parameter value |
CallContext context = [pid=4251,thr=b750b700] |
parameter value |
Unifloat * @x = (float) -8.6431562500000000e+04 (-0x.A8CFC800P17F) |
parameter value |
Unifloat * x = (float) -8.6431562500000000e+04 (-0x.A8CFC800P17F) |
parameter value |
Unifloat * @standart = <NULL> |
parameter value |
Unifloat * standart = <NULL> |
parameter value |
IntT rounding = 0 |
parameter value |
IntT * @dist = <NULL> |
parameter value |
IntT * dist = <NULL> |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EOK |
return value |
(Unifloat *) (float) NaN |
coverage & branch |
C x less than neg One |
properties |
REQ failed |
log1pf.10.01.01 |
expected value |
(float) NaN |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The log1p(x) family of functions shall compute log(1.0 + x).
According to LSB, the functions shall fail if argument is less than -1
and set error code to EDOM.
But on the target machine the functions set error code EOK instead of EDOM if
the argument is less than -1.
|
|